package org.NooLab.itexx.app.gui.handlers.keys;

import org.NooLab.itexx.app.gui.handlers.WindowAppearanceIntf;

public class GuiWorkerRelais implements KeyActionIntf {

	WindowAppearanceIntf windowAppearance;
	
	public GuiWorkerRelais(WindowAppearanceIntf windowAppearance, int param) {
		// 
		this.windowAppearance = windowAppearance;
	}

	@Override
	public void perform(int parameter) {
		// 
		
		if (parameter==11){ // clear list
		
			windowAppearance.clearResultList(parameter);
		}
		if (parameter==999){
			windowAppearance.exitApplication();
		}

	}

}
